//
//  MySlider.m
//  UI05_UIControl子类
//
//  Created by Scott on 16/3/15.
//  Copyright © 2016年 Scott. All rights reserved.
//

#import "MySlider.h"

@implementation MySlider

#pragma mark - overwrite init
- (instancetype)initWithFrame:(CGRect)frame {
    
    self = [super initWithFrame:frame];
    if (self) {
        
        [self config];
    }
    return self;
    
}

- (void)config {
    
    // 设置滑过区域颜色.
    self.minimumTrackTintColor = [UIColor redColor];
    
    // 设置未滑过区域颜色
    self.maximumTrackTintColor = [UIColor blackColor];
    
    // 左边区域image
    self.minimumValueImage = [UIImage imageNamed:@"iconfont-icon05"];
    
    // 右边区域image
    self.maximumValueImage = [UIImage imageNamed:@"iconfont-tz"];
}










@end
